home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d20
/
duchie.arc
/
DU291US1.EXE
/
pak
/
COPYIT.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-04-02
|
3KB
|
117 lines
echo off
: Dutchie 2.91 installation batchfile
: normally started by INSTALL
: SYNTAX : Copyit %1 %2 %3 %4 %5 %6 %7 %8 %9 %10
: Where %1 = origin diskdrive (A:)
: %2 = destination diskdrive (C:)
: %3 = floppy type flag (F=flop, B= high dens flop, H=harddisk
: %4 = flag origing type : H = installing from harddisk, other from flop
: %5 = flag systemtype P = point + = pointplus M = Mailer/Boss
: %6 = directory original disk
: %7 = 1 or 2 floppy installation
: %8 = name original modemfile
: %9 = Update of nieuw (U, N);
: %10= Directory to update
Shift
if %6: == : echo ERROR IN INSTALL
if %6: == : goto finish
if %2 == F goto floppy
if %2 == B goto floppy
:
:harddisk
:
cd %1\
echo Installing fossil driver....
If exist %1X00.sys Echo Fossile driver already there
If not exist %1X00.sys DO_X0291 %1 /w
cd %1\%9
echo Installing mailer and support files ....
DO_ML291 %1 /w
echo Installing message editor ...
DO_ED291 %1 /w
copy copyit2.bat %1 >NUL
if %8: == U: goto verder
if %7: == : echo U must install your modem by hand !
if not %7: == : echo Installing modem driver ...
if not %7: == : DO_MD291 /r %7 %1 > nul
if not %7: == : copy %1%7 %1dutchie.mdm > nul
:verder
if exist LEESME.NU copy LEESME.NU %1 > nul
if %8: == N: echo installing miscellaneous
if %8: == N: copy dutchie.are %1 > nul
if %8: == N: copy import.bat %1 > nul
if %8: == N: copy export.bat %1 > nul
IF %3==H goto hard1
:
%1
copyit2 %0 %1 %2 %3 %4 %5 %6 %7 %8
:
:hard1
echo Installing nodelist maintenance programs....
DO_NL291 %1 /w
echo Installing utilities ...
DO_UT291 %1 /w
echo Installing external packer and scheduler
DO_EX291 %1 /w
echo Installing St-Louis nodelist translator
DO_XL291 %1 /w
echo installing examples
if %8: == N: DO_XA291 %1 /w
echo installing Zmodem module
echo installing Scripter module
echo installing Conferentie manager
DO_DV291 %1 /w
echo deleting all update archives ...
if exist DO_ML291.EXE del DO_ML291.EXE >nul
if exist DO_ED291.EXE del DO_ED291.EXE >nul
if exist DO_NL291.EXE del DO_NL291.EXE >nul
if exist DO_UT291.EXE del DO_UT291.EXE >nul
if exist DO_EX291.EXE del DO_EX291.EXE >nul
if exist DO_XL291.EXE del DO_XL291.EXE >nul
if exist DO_XA291.EXE del DO_XA291.EXE >nul
if exist DO_DV291.EXE del DO_DV291.EXE >nul
if exist LEESME.NU del LEESME.NU >nul
goto finish
:
:floppy
rd %1netmsgs
rd %1netfiles
rd %1outbound
rd %1dutconf
cd %1\
echo Installing fossil driver ...
If exist %1X00.sys Echo Fossile driver already there
If not exist %1X00.sys DO_X0291 %1 /w
copy config.sys %1 >nul
copy autoexec.bat %1>nul
cd %1\dutchie
echo Installing mailer and support files ....
DO_ML291 %1 /w
if %8: == U: goto nogverder
if %7: == : echo You must install your modemfile by hand !
if not %7: == : echo Installing modem driver ...
if not %7: == : DO_MD291 /r %7 %1 > nul
if not %7: == : copy %1%7 %1dutchie.mdm > nul
:nogverder
IF %6==1 goto flop1
ECHO .
ECHO Remove Dutchie SYSTEM disk from drive %1
ECHO Place Dutchie DATA disk in drive %1
pause
:flop1
copy copyit2.bat %1 >NUL
if %8: == U: goto weerverder
echo Creating directories....
md %1netfiles
md %1netmsgs
md %1outbound
md %1dutconf
:weerverder
echo installing message editor ...
DO_ED291 %1 /w
%1
copyit2 %0 %1 %2 %3 %4 %5 %6 %7 %8 %9
:finish